package edu.dayu.controller;

import edu.dayu.aop.Current;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @GetMapping("/hello")
    @Current(name = "hello")
    public String hello(){
        return "hello";
    }
}
